<?php

if ($condition1)
create ($user);
elseif ($coindition2)
add($user);
else
remove($user);
?>